home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-06-14 | 2.6 KB | 74 lines | [TEXT/ToyS] |
- -- THIS IS THE URL TO INCLUDE A CLICKABLE GIF MAP IN YOUR HTML FILES
- --<A HREF="greg/imagemap/gifmap.cgi"><IMG SRC="/greg/gifs/main.gif" ismap ALT = "gif map"></A>
- -- Replace the directories and files with the proper names.
-
-
-
- on «event WWWΩsdoc» path_args given «class kfor»:http_search_args, «class post»:post_args, ¬
- «class meth»:method, «class addr»:client_address, «class user»:username, «class pass»:password
- set CRLF to (ASCII character 13) & (ASCII character 10)
- set http_10_header to "HTTP/1.0 200 OK" & CRLF & "Server: MacHTTP" & CRLF & "MIME-Version: 1.0"¬
- & CRLF & "Content-type: text/html" & CRLF & CRLF
-
- if http_search_args = "" then
- set rhead to "HTTP/1.0 302 OK" & CRLF & "Location: http://uts.cc.utexas.edu/~grgcombs/"
-
- Quit
- return rhead & "index.html"
- else
- set comma to offset of "," in http_search_args
- set theLast to count http_search_args
- set x to (text 1 thru (comma - 1) of http_search_args) + 0
- set y to (text (comma + 1) thru theLast of http_search_args) + 0
- end if
-
-
- -- Created by WebMap 1.0.1
- -- Wednesday, February 8, 1995 at 7:35 PM
- -- Format: NCSA
-
-
-
-
- if (x > 37 and x < 339) and (y > 44 and y < 84) then
- set rhead to "HTTP/1.0 302 OK" & CRLF & "Location: http://uts.cc.utexas.edu/~grgcombs/htmls/"
- quit
- return rhead & "crypto.html"
-
- else if (x > 37 and x < 339) and (y > 91 and y < 131) then
- set rhead to "HTTP/1.0 302 OK" & CRLF & "Location: http://uts.cc.utexas.edu/~grgcombs/htmls/"
- quit
- return rhead & "moo.html"
-
- else if (x > 37 and x < 338) and (y > 138 and y < 178) then
- set rhead to "HTTP/1.0 302 OK" & CRLF & "Location: http://uts.cc.utexas.edu/~grgcombs/htmls/"
- quit
- return rhead & "charles.html"
-
- else if (x > 37 and x < 337) and (y > 185 and y < 225) then
- set rhead to "HTTP/1.0 302 OK" & CRLF & "Location: http://www.utexas.edu/"
- quit
- return rhead & "charles.html"
-
- else if (x > 37 and x < 338) and (y > 232 and y < 272) then
- set rhead to "HTTP/1.0 302 OK" & CRLF & "Location: http://uts.cc.utexas.edu/~grgcombs/htmls/"
- quit
- return rhead & "programming.html"
-
- else if (x > 37 and x < 338) and (y > 278 and y < 317) then
- set rhead to "HTTP/1.0 302 OK" & CRLF & "Location: http://uts.cc.utexas.edu/~grgcombs/htmls/"
- quit
- return rhead & "hotlinks.html"
-
- else if (x > 37 and x < 339) and (y > 325 and y < 365) then
- set rhead to "HTTP/1.0 302 OK" & CRLF & "Location: http://uts.cc.utexas.edu/~grgcombs/forms/"
- quit
- return rhead & "comments.html"
- else
- set rhead to "HTTP/1.0 302 OK" & CRLF & "Location: http://uts.cc.utexas.edu/~grgcombs/"
- quit
- return rhead & "index.html"
- end if
-
- end «event WWWΩsdoc»
-